package com.xmy.api.feign;

import com.xmy.entity.Result;
import com.xmy.pojo.ShopOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wangjinlinag
 * @Classname IOrderService
 * @Description TODO
 * @Date 2021/5/12 1:32 下午
 */
@Component
@FeignClient(value = "dubbo-order-provider")
public interface IOrderFeignService {

    @RequestMapping("/order/confirmOrder")
    Result confirmOrder(@RequestBody ShopOrder shopOrder);
}
